package com.bomberman.items;

import com.bomberman.environment.BombWorld;
import com.bomberman.environment.Man;
import info.gridworld.actor.*;

public abstract class Item extends Actor
//Item is someting that gets "picked up" or "got" by a Man, and does something
{
	BombWorld w;
	Man P;
	
	public Item(BombWorld world)
	{w = world;}
	
	public void got(Man Player)
	{
		P = Player;
		use();
		removeSelfFromGrid();
	}
	
	public abstract void use();
	//unused (lolrony)
}